css keep aspect ratio image

37

img {
  display: block;
  max-width:230px;
  max-height:95px;
  width: auto;
  height: auto;
}
.image-full {
    background: url(...some image...) no-repeat;
    background-size: cover;
    background-position: center center;
}

Comments

Submit
0 Comments